package com.cloudbroker.bcs.platform.ltb.bizexport.t2.credits;

import com.cloudbroker.bcs.common.entity.HSBCPSBackVO;
import com.cloudbroker.bcs.platform.ltb.bizapi.service.credits.CreditsBizService;
import com.cloudbroker.bcs.platform.ltb.bizapi.service.credits.back.*;
import com.cloudbroker.bcs.platform.ltb.bizapi.service.credits.vo.TaskProgressQueryForm;
import com.cloudbroker.bcs.platform.ltb.bizapi.service.credits.vo.*;
import com.cloudbroker.bcs.platform.ltb.bizapi.t2service.credits.CreditsT2BizService;
import com.hundsun.jresplus.remoting.impl.annotation.ServiceParam;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

/**
 * Created by lili19289 on 2016/11/22.
 */
@Service
public class CreditsT2 implements CreditsT2BizService {

    @Resource
    private CreditsBizService creditsBizService;

    @Override
    public ResultVO func_add_credits_rule(CreditsRuleAddForm form) {
        return creditsBizService.func_add_credits_rule(form);
    }

    @Override
    public HSBCPSBackVO func_update_credits_rule(CreditsRuleUpdateform form) {
        return creditsBizService.func_update_credits_rule(form);
    }

    @Override
    public HSBCPSBackVO func_delete_credits_rule(CreditsRuleDeleteForm form) {
        return creditsBizService.func_delete_credits_rule(form);
    }

    @Override
    public CreditsRuleListBackVO func_query_credits_rule( QueryCreditsRuleForm form) {
        return creditsBizService.func_query_credits_rule(form);
    }

    @Override
    public ResultVO funct_add_tasck_configure( TaskAddForm form) {
        return creditsBizService.funct_add_tasck_configure(form);
    }

    @Override
    public HSBCPSBackVO func_update_task_configure( TaskUpdateForm form) {
        return creditsBizService.func_update_task_configure(form);
    }

    @Override
    public HSBCPSBackVO func_delete_task_configure( TaskDeleteForm form) {
        return creditsBizService.func_delete_task_configure(form);
    }

    @Override
    public TaskConfigureListBackVO func_query_task_configure(TaskQueryForm form) {
        return creditsBizService.func_query_task_configure(form);
    }


    public ResultVO func_add_credlits_limit(CreditsLimitAddForm form){
        return creditsBizService.func_add_credlits_limit(form);
    }

    public HSBCPSBackVO func_update_credlits_limit(CreditsLimitUpdateForm form){
        return creditsBizService.func_update_credlits_limit(form);
    }

    public HSBCPSBackVO func_delete_credlits_limit(CreditsLimitDeleteForm form){
        return creditsBizService.func_delete_credlits_limit(form);
    }

    public CreditsLimitListBackVO func_query_credits_limit(CreditsLimitQueryForm form){
        return creditsBizService.func_query_credits_limit(form);
    }

    @Override
    public CreditsBackVO function_get_user_credits( UserCreditsForm form) {
        return creditsBizService.function_get_user_credits(form);
    }

    @Override
    public CreditsLogListBackVO function_query_creditsLog(QueryCreditslogForm form) {
        return creditsBizService.function_query_creditsLog(form);
    }

    public TaskProgressListBackVO function_query_task_progress(TaskProgressQueryForm form){
        return creditsBizService.function_query_task_progress(form);
    }
}
